<%@page contentType="text/html; charset=utf-8"%>
<html>
<%@include file="../header.jsp" %>
<link rel="stylesheet" type="text/css"href="${pageContext.request.contextPath}/themed/jdstatics/skin/2012/base.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themed/jdstatics/skin/2012/common.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themed/jdstatics/skin/2012/page.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/themed/jdstatics/js/2012/jquery.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/themed/jdstatics/js/2012/main.js"></script>
<head>
<script type="text/javascript">
	$(document).ready(function() {
		initDocs();
	});
	function initDocs(){
		jQuery.post(webContext+"/file/findDocs.do",function(str){
			var data = eval('(' + str + ')');
			
			var htmlText = "";
			if(data.success=='true'){
				for (var i=0; i<data.data.length; i++) {
					htmlText += "<tr>"
							+"<td>"+(i+1)+"</td>"
							+"<td><a href='"+webContext + data.data[i].filePath+"'>"+data.data[i].fileName+"</a></td>"
							+"<td class=\"textL\" >"+data.data[i].createTime+"</td>"
							+"</tr>";
				}
			}
			if(htmlText!=""){
				$("#doc_tbody_id").html(htmlText);
			}
	    });
	}
	
</script>
</head>
<body style="overflow:hidden">
<table class="grid" summary="财务分析文档列表">
			<colgroup>
				<col width="30">
				<col  width="200">
				<col  width="200">
				
			</colgroup>
			<thead>
				<tr>
					<td>序号</td>
					<td>文档下载链接</td>
					<td>创建时间</td>							
				</tr>
			</thead>
			<tbody id="doc_tbody_id">
				
			</tbody>
		</table>
</body>

</html>